const columns = [
    {
        label: "ID",
        field: "id",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: true,
        isSearch: true,
        isEdit: false,
        isHide: true,
        searchSetting: {}
    },
    {
        label: "邮件主题",
        field: "subject",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "邮件内容",
        field: "content",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "接收者",
        field: "to",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "消息类型",
        field: "messageTypeCode",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "消息状态编码",
        field: "messageStatusCode",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "发送失败原因编码",
        field: "messageStatusFailReasonCode",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    {
        label: "发送失败原因",
        field: "messageStatusFailReason",
        type: "text",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
    },
    // 是否为html
    {
        label: "是否为html",
        field: "isHtml",
        type: "enum",
        width: "200px",
        // 是否可编辑
        isEdit: true,
        isSearch: true,
        isAdd: true,
        enumList: [
            {
                label: "是",
                value: true
            },
            {
                label: "否",
                value: false
            }
        ]
    },

    {
        label: "创建时间",
        field: "gmtCreate",
        type: "datetime",
        width: "200px",
        // 是否可编辑
        isEdit: false,
        isSearch: true,
        isAdd: false,
        setting: {
            format: "YYYY-MM-DD hh:mm:ss"
        }
    }
]

export default columns